package com.sky.his.api.db.dao;

import com.sky.his.api.db.pojo.GoodsEntity;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;

/**
 * @author WangJiyou
 * @description 针对表【tb_goods(体检套餐表)】的数据库操作Mapper
 * @createDate 2024-11-08 16:36:14
 * @Entity com.sky.his.api.db.pojo.GoodsEntity
 */
public interface GoodsDao {

    ArrayList<HashMap> searchListByPage(Map param);

    long searchListCount(Map param);

    ArrayList<HashMap> searchByPage(Map param);

    long searchCount(Map param);

    int insert(GoodsEntity entity);

    HashMap searchById(Map param);

    int update(GoodsEntity entity);

    GoodsEntity searchEntityById(int id);

    int updateCheckup(Map param);

    int updateStatus(Map param);

    ArrayList<String> searchImageByIds(Integer[] ids);

    int deleteByIds(Integer[] ids);

    ArrayList<HashMap> searchByPartIdLimit4(int partId);

    HashMap searchSnapshotNeededById(int id);


    int updateSalesVolume(int id);
}




